<template>
	<view>
		<!-- {{ poster.configUrlData }} -->
		<web-view :webview-styles="webviewStyles" :src="poster.configUrlData"></web-view>
	</view>
</template>

<script>
import {
	configImg // 海报 key 图片url
} from '@/common/api.js';
export default {
	data() {
		return {
			webviewStyles: {
				progress: {
					color: '#FF3333'
				}
			},
			poster: {
				configUrlData: ''
			}
		};
	},
	async onLoad(params) {
		// 测试获取海报 跳转地址
		this.poster.configUrlData = uni.getStorageSync('posterUrl');
		console.log('网站',this.poster.configUrlData)
		// uni.$u.toast(this.poster.configUrlData);
	}
};
</script>

<style></style>
